home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / FileMove.au3 < prev    next >
Text File  |  2007-09-08  |  346b  |  8 lines

  1. FileMove("C:\foo.au3", "D:\mydir\bak.au3")
  2.  
  3. ; Second example:
  4. ;    uses flags '1' (owerwriting) and '8' (autocreating target dir structure) together
  5. ;    moves all txt-files from temp to txtfiles and prechecks if
  6. ;    target directory structure exists, if not then automatically creates it
  7. FileMove(@TempDir & "\*.txt", @TempDir & "\TxtFiles\", 9)
  8.